package com.ruoyi.operation.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 生成任务业务对象
 *
 * @author chq
 * @date 2025-06-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TGentaskBo extends BaseEntity {

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptid;

    /**
     * 下拉框，从cmdb获取
     */
    @NotBlank(message = "下拉框，从cmdb获取不能为空", groups = { AddGroup.class, EditGroup.class })
    private String busisystemid;

    /**
     * QS:清算;
     */
    @NotBlank(message = "QS:清算;不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stepno;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String memo;

    /**
     * D：每日；T：每工作日；U：每工作日并香港工作日；W1：每周第一个工作日；M30：每月最后一个工作日；S90：每季最后一个工作日；Y365：每年最后一个工作日
     */
    @NotBlank(message = "D：每日；T：每工作日；U：每工作日并香港工作日；W1：每周第一个工作日；M30：每月最后一个工作日；S90：每季最后一个工作日；Y365：每年最后一个工作日不能为空", groups = { AddGroup.class, EditGroup.class })
    private String period;

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date starttime;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String flag;


}
